import request from '@/utils/request'

// 查询BwScoreLog列表
export function listBwScoreLog(query) {
    return request({
        url: '/api/v1/bw/scoreList',
        method: 'get',
        params: query
    })
}

// 查询BwScoreLog详细
export function getBwScoreLog (logId) {
    return request({
        url: '/api/v1/bw/scorelog/' + logId,
        method: 'get'
    })
}


// 新增BwScoreLog
export function addBwScoreLog(data) {
    return request({
        url: '/api/v1/bw/scorelog',
        method: 'post',
        data: data
    })
}

// 修改BwScoreLog
export function updateBwScoreLog(data) {
    return request({
        url: '/api/v1/bw/scorelog',
        method: 'put',
        data: data
    })
}

// 删除BwScoreLog
export function delBwScoreLog(logId) {
    return request({
        url: '/api/v1/bw/scorelog/' + logId,
        method: 'delete'
    })
}
